﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TA.DotNetUtils;

namespace TA.Turbo
{
	/// <summary>
	/// Markup template which has a name and can output HTML markup and client script for initialization.
	/// </summary>
	public interface IMarkupTemplate : INamedObject
	{
		/// <summary>
		/// When implemented, gets the HTML markup for this template.
		/// </summary>
		string Markup { get; }
		/// <summary>
		/// When implemented, gets the initialization client script for this template.
		/// </summary>
		string Script { get; }
		///// <summary>
		///// When implemented, gets the default control ID prefix (ie., "dataControl$Item" where "Item" is the name of the template).
		///// </summary>
		//string IdPrefix { get; }
	}
}
